import { CoolController, BaseController } from '@cool-midway/core';
import { BizAdListEntity } from '../../entity/list';
import { BizAdListService } from '../../service/list';

/**
 * 广告
 */
@CoolController({
  api: ['add', 'delete', 'update', 'info', 'list', 'page'],
  entity: BizAdListEntity,
  service: BizAdListService,
  pageQueryOp: {
    fieldEq: ['id', 'kind'],
    keyWordLikeFields: ['title'],
  },
})
export class BizAdListController extends BaseController {}
